﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace HpxWMS_Api.Models
{
    /// <summary>
    /// 添加仓库模板
    /// </summary>
    public class Wi
    {
        /// <summary>
        /// 仓库名
        /// </summary>
        [Required(ErrorMessage ="仓库名是必须的")]
        public string Name { get; set; }
        /// <summary>
        /// 仓库地址
        /// </summary>
        [Required(ErrorMessage ="仓库地址是必须的")]
        public string Address { get; set; }
        /// <summary>
        /// 管理员ID
        /// </summary>
        [Required(ErrorMessage = "仓库管理员是必须的")]
        public int ManageId { get; set; }
        /// <summary>
        /// 仓库联系电话
        /// </summary>
        public string Mobile { get; set; }
    }
}